package com.tedu.studentmanagement.common.result;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@AllArgsConstructor
@NoArgsConstructor
@Getter
public enum StatusCode {
    OPERATION_SUCCESS(10100,"操作成功"),
    OPERATION_FAILED(10200,"操作失败"),
    USERNAME_PASSWORD_ERROR(10300,"用户名或密码错误"),
    NOT_LOGIN(10400,"未登录"),
    USERID_EXIST(10500,"用户ID已存在"),
    VALIDATED_ERROR(10600,"参数校验失败");
    private Integer statusCode;
    private String message;
}
